package com.sangeng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sangeng.dto.LinkDTO;
import com.sangeng.entity.Link;
import com.sangeng.entity.ResponseResult;

import java.util.List;

/**
 * 友链(Link)表服务接口
 *
 * @author makejava
 * @since 2022-08-19 14:14:24
 */

public interface LinkService extends IService<Link> {

  public  ResponseResult selectLinkList();

//  ResponseResult getLinkList(Integer pageNum, Integer pageSize);

  ResponseResult deleteLink(List<Long> idList);

  ResponseResult getLinkById(Long id);

  ResponseResult getLinkListByRequire(Integer pageNum, Integer pageSize, String name, String status);

  ResponseResult updateLink(LinkDTO linkDTO);
}

